<?php

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * Show store information in product detail page
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Anhbinu
 * @package 		Phpfox_Component
 * @version 		
 */
class Marketplace_Component_Block_Store_OtherProduct extends Phpfox_Component
{
    public function process(){
        $aListing = $this->getParam("aListing");
        if(!$aListing){
            return false;
        }
        $aAlbums = Phpfox::getService("marketplace.store")->getOtherAlbumsProducts($aListing);
        
        $this->template()->assign(array(
            "aAlbums" => $aAlbums
        ));
    }
}